package cola.rh.dao;

import cola.rh.entity.User;
import org.springframework.stereotype.Repository;

/**
 * @ClassName UserDao
 * @Author Cola
 * @DATE 2023/4/7 8:36 PM
 * @Description UserDao TODO
 * @Version 1.0
 */
@Repository
public interface UserDao extends BaseDao<User> {

    /**
     * 根据用户名查询用户
     */
    User findByUsername(String username);
}
